<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
			<title>Form Feedback</title>
	</head>
	<body>
		<?php # Script 2.2 - handle_form.php
		
		// Create a shorthand for the form data:
			$name = $_REQUEST['name'];
			$email = $_REQUEST['email'];
			$comments = $_REQUEST['comments'];
		/* Not Used:
		$_REQUEST['age']
		$_REQUEST['gender']
		$_REQUEST['submit']
		*/
		
		// Print the submitted information:
		echo "<p>Thank you, <b>$name</b>, for the following comments:<br />
			
			<tt>$comments</tt></p>
			
			<p>We will reply to you at
			<i>$email</i>.</p>\n";
		
		?>
	</body>
</html>

